home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / h / ori_arexx.h < prev   
Encoding:
C/C++ Source or Header  |  1996-09-27  |  1.1 KB  |  49 lines

  1. /* This file is part of the origami distrubution. (Amiga Port)
  2.  *
  3.  * Source code written by Thomas Hadig in September 1993
  4.  * Version : 1.6.92.1, February 1994
  5.  * (C) 1993-94 by Thomas Hadig
  6.  * may be distributed unchanged ! (see copyright notes)
  7.  */
  8.  
  9. #ifndef ORI_AREXX_H
  10. #define ORI_AREXX_H
  11. #ifdef AREXX
  12. #include <rexx/storage.h>
  13.  
  14. #define I_GETTK_C
  15.  
  16. /*{{{}}}*/
  17. /*{{{  AREXX_COM*/
  18. #pragma msg 108 ignore push
  19. typedef struct arexx_com
  20.  {
  21.   struct arexx_com *Next;
  22.   int              mac;
  23.   char             name[0];
  24.  } AREXX_COM;
  25. #pragma msg 108 pop
  26. /*}}}  */
  27. /*{{{  _AREXX (MyArexx)*/
  28. typedef struct MyArexx
  29.  {
  30.   struct MsgPort *port;
  31.   int            outstanding;
  32.   long           signal;
  33.   char           portname[24];
  34.   char           errorname[28];
  35.   struct RexxMsg *msg;
  36.   int            tag;
  37.   AREXX_COM      *command;
  38.   int            mac;
  39.   int            hist;
  40.  } _AREXX;
  41. /*}}}  */
  42.  
  43. extern struct RexxMsg *GetARexxMsg (void);
  44. extern void ReplyARexxMsg(struct RexxMsg *rmsg,char *RString,LONG Error);
  45. extern short SetARexxLastError(struct Message *rmsg,char *ErrorString);
  46. extern int handle_rexx(void);
  47. #endif
  48. #endif
  49.